<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity4">
<head>
    <title>title</title>
    <meta charset="UTF-8">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta http-equiv="Access-Control-Allow-Origin" content="*">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" th:href="@{/js/layui/css/layui.css}" media="all" />
</head>
<style>
    .layui-btn{
        font-size: 12px;
    }
    .layui-row .layui-btn-container .layui-btn {
        margin-right: 2px;
        margin-bottom: 5px;
        width: 105px;
    }
    .layui-inline .layui-btn-group .layui-btn {
        width: 65px;
    }
    .layui-btn-select{
        border: 1px solid #C9C9C9;
        background-color: #fff;
        color: #555;
        !important;
    }
    .layui-btn-select:hover {
        border-color: #009688;
        color: #333;
        !important;
    }
    .layui-btn-container{
        padding-top: 19px !important;
    }

</style>
<!--<body style="background: #e2e2e2">-->
<body style="border: 1px solid #009688;-webkit-backface-visibility: hidden;"  >
    <div class="layui-fluid">
        <div class="layui-row">
            <div class="layui-col-xs12 layui-col-sm12 layui-col-md12">

                <fieldset class="layui-elem-field" style="margin-top: 10px;">
                    <div class="layui-field-box">
                        <form id="searchForm" class="layui-form layui-form-pane">
                            <div class="layui-form-item customer-fixed">
                                <legend>用户查询</legend>
                                <div class="layui-inline">
                                    <label class="layui-form-label">用户名</label>
                                    <div class="layui-input-inline">
                                        <input id="username" type="text" name="username" th:value="${userinfo?.username}"  lay-verify="" placeholder="请输入" autocomplete="off" class="layui-input" />
                                    </div>
                                </div>
                                <div class="layui-inline">
                                    <label class="layui-form-label">用户姓名</label>
                                    <div class="layui-input-inline ">
                                        <input type="text" id="name" name="name" th:value="${userinfo?.name}"   lay-verify="" placeholder="请输入" autocomplete="off" class="layui-input" />
                                    </div>
                                </div>
                                <div class="layui-inline">
                                    <label class="layui-form-label">工号</label>
                                    <div class="layui-input-inline">
                                        <input type="text" id="enrollNumber" name="enrollNumber" th:value="${userinfo?.enrollNumber}"   lay-verify="" placeholder="请输入" autocomplete="off" class="layui-input" />
                                    </div>
                                </div>
                                <!--<div class="layui-inline">
                                    <label class="layui-form-label">关键字搜索</label>
                                    <div class="layui-input-inline">
                                        <input type="text" name="keyword" placeholder="请输入" autocomplete="off" class="layui-input">
                                    </div>
                                </div>-->



                            </div>
                            <div class="layui-inline">
                                <div class="layui-inline">
                                    <button id="searchBtn" type="button" class="layui-btn layui-btn-normal" lay-submit lay-filter="query">
                                        <i class="layui-icon">&#xe615;</i>
                                        查询
                                    </button>
                                </div>
                            </div>
                            <div class="layui-inline buttons">
                                <div >
                                    <!--<span id="add" class="layui-btn layui-btn-normal layui-btn-sm" data-method="add">添加用户</span>-->
                                    <button type="button" lay-submit lay-filter="addUserinfo" class="layui-btn" >添加</button>

                                    <!--<span class="layui-btn layui-btn-danger layui-btn-sm" data-method="delList">删除用户</span>-->


                                </div>
                            </div>

                            <button type="button" class="layui-btn" lay-submit lay-filter="getCheckData" data-type="getCheckData">删除选中数据</button>
                            <!--<div style="padding-top: 117px"></div>-->
                            <div class="moreCondition layui-hide">
                            </div>
                        </form>
                    </div>
                </fieldset>
            </div>
        </div>
        <div class="layui-row buttons" id="buttons">
            <div class="layui-row">
                <div class="layui-col-xs12 layui-col-sm12 layui-col-md12">
                    <table class="layui-hide" id="userinfoList" lay-filter="userinfoList" lay-data="{id: 'userinfoListIns'}"></table>
                    <script type="text/html" id="barEdit">
                        <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
                        <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
                    </script>
                </div>
            </div>
        </div>
    </div>


<!--    <div class="layui-row" id="editUserinfoDiv" style="display: none;">
        <div class="layui-col-md10">
            <form class="layui-form" id="editUserinfoForm">
                <div class="layui-form-item">
                    <label class="layui-form-label">用户名：</label>
                    <div class="layui-input-block">
                        <input type="text" name="username" class="layui-input" value="${obj?.username}">
                    </div>
                </div>
                &lt;!&ndash;<div class="layui-form-item">
                    <label class="layui-form-label">性别：</label>
                    <div class="layui-input-block">
                        <input type="radio" name="empSex" value="男" title="男" checked>
                        <input type="radio" name="empSex" value="女" title="女">
                    </div>
                </div>&ndash;&gt;
                <div class="layui-form-item">
                    <label class="layui-form-label">工号：</label>
                    <div class="layui-input-block">
                        <input type="text" name="enrollNumber" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">名称：</label>
                    <div class="layui-input-block">
                        <input type="text" name="name" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button type="button" class="layui-btn layui-btn-normal">提交</button>
                    </div>
                </div>
            </form>
        </div>
    </div>-->




</body>
<script th:src="@{/js/layui/layui.js}"></script>
<script th:src="@{/js/jquery-2.1.4.js}"></script>
<script th:src="@{/js/utils.js}"></script>

<script type="text/javascript" th:src="@{/js/page/userinfo/queryUserinfo.js}"></script>
</html>
